package com.hao.tool.common.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * description
 *
 * @author RuiHaoZ on CMHK.gz
 * @date 2020-05-24 10:08
 */
@Getter
@Setter
public class ErrorException extends Exception {

    private String errCode;
    private String message;

    public ErrorException(String errCode, String message) {
        this.errCode = errCode;
        this.message = message;
    }
}
